package com.demo.demo01;

import org.springframework.stereotype.Component;

@Component("target")
public class TargetImpl implements TargetInterface {
    @Override
    public void targetMethod() {
        System.out.println("正在执行目标方法！");
    }
}
